# Create your views here.
from models import *
from django.shortcuts import render_to_response

def blogPage(request):
	closeblog= CloseBlog.objects.all()
	posts=Post.objects.all().order_by('-created')
	sites=MySites.objects.all()
	return render_to_response("home.html", locals())
	return render_to_response("home.html", locals())
	
def aboutPage(request):
	about=AboutMe.objects.all()
	return render_to_response("about_me.html", locals())